#ifndef CKDIALOG_H
#define CKDIALOG_H

#include <QDialog>
#include <QMouseEvent>
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QThread>
#include <QDesktopServices>

namespace Ui {
class CKDialog;
}

class CKDialog : public QDialog
{
    Q_OBJECT

public:
    explicit CKDialog(QWidget *parent = nullptr);
    ~CKDialog();
    void UpadteUI();
    QString Gacha();
    QString Gacha3();
    QString Gacha4();
    QString Gacha5();

protected:
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);

private slots:
    void on_pushButton_clicked();
    void on_onegacha_clicked();
    void UpIntnetUI();

    void on_tengacha_clicked();

    void on_toBili_clicked();

    void on_toGitee_clicked();

    void on_AD_clicked();

private:
    Ui::CKDialog *ui;
    bool m_move;
    QPoint m_startPoint;
    QPoint m_windowPoint;
    int BD5,BD4;
    int Money;

};

#endif // CKDIALOG_H
